<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.nobody.facepk.pojo.SessionUser"%>
<%@page import="com.nobody.facepk.model.Picture"%>
<%@page import="com.nobody.facepk.model.Friends"%>
<%@page import="com.nobody.facepk.model.User"%>
<%@page import="com.nobody.facepk.view.ScoringResultView"%>
<%@page import="com.nobody.facepk.service.UserService"%>
<%@page import="java.util.Set"%>
<%@page import="java.util.List;"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>投票结束</title>
     <%
  SessionUser user = (SessionUser)request.getSession().getAttribute("SESSION_USER");
  Picture pic = (Picture)request.getAttribute("picture");
  String picPath = pic.getPath();
  String picName = pic.getName();
  String realPath = "pictures/"+pic.getUserId()+"/"+picPath;
  
  List ret  = (List)request.getAttribute("ret");  //投过票的人
  %>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  评分界面<br/>
    <table>
   	<img src="<%=realPath %>" height="80" width="80"/><br/>
   	 目前已经投票的人:<br/>
   	 <%
   	 for(int i = 0 ;i < ret.size() ; i ++){
   	 ScoringResultView temp = (ScoringResultView)ret.get(i);
   	 %>
   	 <%=temp.getName()%> 投了 <%=temp.getScore()%>分<br/>
   	 <% 
   	 }
   	 %>
   	 <br/>
 </table>
</html>
